﻿
var app = new Vue({
    el: '#app',
    data: {
        title: '获取注册信息',
        code:'',
        name: '',
        pwd: '',
        cpwd: ''
    },
    methods: {
        OnCodeInput: function () {
            console.log(app.code);
            getCode(app.code, true);
        },

        OnNameInput: function () {
            console.log(app.name);
            getName(app.name, true);
        },

        OnPwdInput: function () {
            console.log(app.pwd);
            getPwd(app.pwd, true);
        },

        OnCpwdInput: function () {
            console.log(app.cpwd);
            getCpwd(app.cpwd, true);
        },

        getRegister: function () {
            getRegisterInfo("", true);
        }
    }
});
